home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
F1 Licenseware
/
F1 Licenseware - Volume 1.iso
/
disks
/
045.dms
/
045.adf
/
about.doc
< prev
next >
Wrap
Text File
|
1989-08-17
|
2KB
|
63 lines
T_TecMaze is copyright T. Taylor 1991
No unauthorised distribution
*************************************
* Look out for other T_Tec *
* programs that I have written *
*************************************
T_TecMaze was written using AMOS
Devpack Amiga and Soundtracker.
The program was designed as a piece
of competition software .
Read the comp file.
1 sprite ( the cursor ) and up to
64 bobs are used ( 48 animated ).
AMAL was used for the control of
the game and animation, so the main
loop is just a call to AMAL and test
for exit condition. The AMAL strings
are loaded in from files to save
memory. At each level the strings
have to be changed. I have designed
the strings in such a way that the
program can alter them ( reading
a small data file ) rather than
loading a new set of strings for each
level.
AMAL control of the game.
First the AMAL string which
controls the cursor (sprite) looks to
see if the joystick fire button has
been pressed: if so it sets a register
to tell the basic program to exit.
If the fire button has not been
pressed it checks for joystick
movement. If it detects movement it
then sets a register and pauses. This
is detected by another AMAL string
which then uses a 1 pixel bob to
detect if there is a gate in the way.
If not it sets a register to tell the
cursor string that it can move in the
desired direction. The cursor string
then starts to move the cursor and sets
a register which another string uses
to find out if the cursor is going to
encounter on a switch. If this string
detects a bob then it sets a register.
to tell what colours the switch is
set to. The cursor string then sets
the first 6 bits of a register
according to the colours of the
switch. Then all the gate strings
can read this register and move
the gates accordingly.
Hope you enjoy the game.
T. Taylor
Press Esc to return to menu.
>